<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ page import="com.fit.user.dao.*"  %>
<%@ page import="com.fit.user.entity.*"%>
<%
	String contextPath = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ contextPath + "/";
			
			
%>
<%
	String caseID = request.getParameter("caseID");
	if(caseID == null){
	caseID =(String)session.getAttribute("caseID");
	}else{
	session.removeAttribute("caseID");
	session.setAttribute("caseID",caseID);
	
	}
	
	
	//根据警号得到该警员的权限
	  String policeID = (String)session.getAttribute("policeID");
  PoliceMsgDAO policeMsgDAO = new PoliceMsgDAO();
  String purview = policeMsgDAO.getPoliceMsg(policeID).getPurview();
  String policeName = policeMsgDAO.getPoliceMsg(policeID).getPoliceName();
	
	
	 %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
    <base href="<%=basePath%>">
	<head>
	<link href="<%=contextPath%>/img/skin/skin.css" rel="stylesheet" type="text/css" />
		<link href="<%=contextPath%>/css/sic.css" rel="stylesheet" type="text/css" />
	<script type="text/javascript" src="<%=contextPath%>/js/manager.js"></script>
<script type="text/javascript">
function gofun(_link) {
    window.top.frames('mainFrame').location.href=_link;
  }
  
   function gofun_beian()
  {
  alert("对不起,您没有备案登记！");
  }
  
  
 function gofun_check()
  {
  alert("对不起,您没有操作权限!");
  }
</script>
	<style type="text/css">

body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	background-color: #EEF2FB;
}

</style>
	
		
	</head>

	<body>
		<center>
<%
if(caseID!=null)
{

 %>
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td width="17" valign="top" background="<%=contextPath%>/img/skin/mail_leftbg.gif"><img src="<%=contextPath%>/img/skin/left-top-right.gif" width="17" height="29" /></td>
    <td valign="top" background="<%=contextPath%>/img/skin/content-bg.gif"><table width="100%" height="31" border="0" cellpadding="0" cellspacing="0" class="left_topbg" id="table2">
      <tr>
      
        <td height="31" width="85">
          <a style="cursor:hand;" onclick="gofun('/police/police/bodyMsg.jsp')"><div class="mytitlebt">人身检查
</div> </a>
        </td>
            <td height="31" width="85">
               <a style="cursor:hand;" onclick="gofun('/police/police/goods_and_material_evidencesmsg.jsp')"> 
       <div class="mytitlebt">物证保管</div>
       </a>
        </td>
            <td height="31" width="85">
              <a style="cursor:hand;" onclick="gofun('/police/police/collectmsg.jsp')"> 
       <div class="mytitlebt">信息采集 </div>
       </a>
        </td>
            <td height="31" width="85">
         <a style="cursor:hand;" onclick="gofun('/police/police/inquiry_and_inquest.jsp')"> 
       <div class="mytitlebt">询问讯问</div>
       </a>
        </td>
            <td height="31" width="85">
         <a style="cursor:hand;" onclick="gofun('/police/police/manager_houwen_yueshu.jsp')"></a> 
       <div class="mytitlebt">候问约束 </div>
        </td>
            <td height="31" width="85">
         <a style="cursor:hand;" onclick="gofun('/police/police/select_case.jsp')"> 
       <div class="mytitlebt">资料调阅</div>
       </a>
        </td>
      
  <%
		if(purview != null && purview.equals("0")){
				 %>
      
        <td height="31" width="85">
         <a style="cursor:hand;" onclick="gofun('/police/police/manager.jsp')"> 
       <div class="mytitlebt">县局管理</div>
       </a>
        </td>
        <%} else{%>
        
        <td height="31" width="85">
         <a style="cursor:hand;" onclick="gofun_check('')"> 
       <div class="mytitlebt">县局管理</div>
       </a>
        </td>
        <%} %>
         <td height="20" align="right">&nbsp;</td>
      </tr>
    </table></td>
    <td width="16" valign="top" background="<%=contextPath%>/img/skin/mail_rightbg.gif"><img src="<%=contextPath%>/img/skin/nav-right-bg.gif" width="16" height="29" /></td>
  </tr>
  <tr>
    <td valign="middle" background="<%=contextPath%>/img/skin/mail_leftbg.gif">&nbsp;</td>
    <td valign="top" bgcolor="#F7F8F9">
		<table width="100%" height="450" border="0" cellpadding="0" cellspacing="0">
		
		<tr><td height="10"><b style="font-size:20;">该备案编号为:<%=caseID%></b></td></tr>
		<tr><td valign="top">
		<table width="800">
		<!-------------=========================================-------------->	
				
<tr>
<td  colspan="2"  width="100%"  align="left">

  <span class="left_txt">
<table  height="200" border="0" align="left"  width="600">

  <tr>

	                 <%
if(caseID!=null)
{

 %>		
    <td width="320">
	 <a  onclick="gofun('/police/police/bodyMsg.jsp')"onMouseOver="overChanger(salaryStandarimg,'<%=contextPath%>/img/zhuomian/engage1.gif')" onmouseout="outChanager(salaryStandarimg,'<%=contextPath%>/img/zhuomian/engage.gif')">  
      <div align="right"><img id="salaryStandarimg" src="<%=contextPath%>/img/zhuomian/engage.gif" width="55" height="55" name="image2" alt=""border="0"></div></a>
          <div align="right">人身检查 </div>
      </td>
    <td width="320">
	   <a onclick="gofun('/police/police/goods_and_material_evidencesmsg.jsp')" onMouseOver="overChanger(salaryGrant,'<%=contextPath%>/img/zhuomian/salary1.gif')" onmouseout="outChanager(salaryGrant,'<%=contextPath%>/img/zhuomian/salary.gif')">  
      <div align="right"><img id="salaryGrant" src="<%=contextPath%>/img/zhuomian/salary.gif" width="55" height="55" name="image3" alt=""border="0"></a></div>
            <div align="right">物证保管 </div>
      </td>
    <td width="320">
	 <a onclick="gofun('/police/police/collectmsg.jsp')" onMouseOver="overChanger(changer,'<%=contextPath%>/img/zhuomian/salary_standard1.gif')" onmouseout="outChanager(changer,'<%=contextPath%>/img/zhuomian/salary_standard.gif')"> 
      <div align="right"><img id="changer" src="<%=contextPath%>/img/zhuomian/salary_standard.gif" width="55" height="55" name="image4" alt=""border="0"></div></a>
            <div align="right">信息采集 </div>
      </td>
</tr>
<tr>
  <td width="320">
	     <a onclick="gofun('/police/police/inquiry_and_inquest.jsp')" onMouseOver="overChanger(training,'<%=contextPath%>/img/zhuomian/training1.gif')" onmouseout="outChanager(training,'<%=contextPath%>/img/zhuomian/training.gif')"> 
	    <div align="right"><img id="training" src="<%=contextPath%>/img/zhuomian/training.gif" width="55" height="55" name="image5" alt=""border="0"></div></a>
	          <div align="right">询问讯问 </div>
	    </td>
    <td width="220" height="55"><div align="center">
         <a onclick="gofun('/police/police/manager_houwen_yueshu.jsp')"onMouseOver="overChanger(bonus,'<%=contextPath%>/img/zhuomian/bonus1.gif')" onmouseout="outChanager(bonus,'<%=contextPath%>/img/zhuomian/bonus.gif')"> 
	  <div align="right"><img id="bonus" src="<%=contextPath%>/img/zhuomian/bonus.gif" width="55" height="55" name="image6" alt="" border="0"></div></a>
	      <div align="right">侯问约束 </div>
	  </td>
    <td width="220">
    <a  onclick="gofun('/police/police/select_case.jsp')" onMouseOver="overChanger(engage,'<%=contextPath%>/img/zhuomian/major_change1.gif')" onmouseout="outChanager(engage,'<%=contextPath%>/img/zhuomian/major_change.gif')"> 
      <div align="right"><img id="engage" src="<%=contextPath%>/img/zhuomian/major_change.gif" width="55" height="55" name="image7" alt="" border="0"></div></a>
          <div align="right">资料查阅 </div>
      </td>
      <%
}else
{ %>

 <td width="320">
	 <a  onclick="gofun_beian('')"onMouseOver="overChanger(salaryStandarimg,'<%=contextPath%>/img/zhuomian/engage1.gif')" onmouseout="outChanager(salaryStandarimg,'<%=contextPath%>/img/zhuomian/engage.gif')">  
      <div align="right"><img id="salaryStandarimg" src="<%=contextPath%>/img/zhuomian/engage.gif" width="55" height="55" name="image2" alt=""border="0"></div></a>
          <div align="right">人身检查 </div>
      </td>
    <td width="320">
	   <a onclick="gofun_beian('')" onMouseOver="overChanger(salaryGrant,'<%=contextPath%>/img/zhuomian/salary1.gif')" onmouseout="outChanager(salaryGrant,'<%=contextPath%>/img/zhuomian/salary.gif')">  
      <div align="right"><img id="salaryGrant" src="<%=contextPath%>/img/zhuomian/salary.gif" width="55" height="55" name="image3" alt=""border="0"></a></div>
            <div align="right">物证采集 </div>
      </td>
    <td width="320">
	 <a onclick="gofun_beian('')" onMouseOver="overChanger(changer,'<%=contextPath%>/img/zhuomian/salary_standard1.gif')" onmouseout="outChanager(changer,'<%=contextPath%>/img/zhuomian/salary_standard.gif')"> 
      <div align="right"><img id="changer" src="<%=contextPath%>/img/zhuomian/salary_standard.gif" width="55" height="55" name="image4" alt=""border="0"></div></a>
            <div align="right">信息采集 </div>
      </td>
</tr>
<tr>
  <td width="320">
	     <a onclick="gofun_beian('')" onMouseOver="overChanger(training,'<%=contextPath%>/img/zhuomian/training1.gif')" onmouseout="outChanager(training,'<%=contextPath%>/img/zhuomian/training.gif')"> 
	    <div align="right"><img id="training" src="<%=contextPath%>/img/zhuomian/training.gif" width="55" height="55" name="image5" alt=""border="0"></div></a>
	          <div align="right">询问讯问 </div>
	    </td>
    <td width="220" height="55"><div align="center">
         <a onclick="gofun_beian('')"onMouseOver="overChanger(bonus,'<%=contextPath%>/img/zhuomian/bonus1.gif')" onmouseout="outChanager(bonus,'<%=contextPath%>/img/zhuomian/bonus.gif')"> 
	  <div align="right"><img id="bonus" src="<%=contextPath%>/img/zhuomian/bonus.gif" width="55" height="55" name="image6" alt="" border="0"></div></a>
	      <div align="right">侯问约束 </div>
	  </td>
    <td width="220">
    <a  onclick="gofun('/police/police/select_case.jsp')" onMouseOver="overChanger(engage,'<%=contextPath%>/img/zhuomian/major_change1.gif')" onmouseout="outChanager(engage,'<%=contextPath%>/img/zhuomian/major_change.gif')"> 
      <div align="right"><img id="engage" src="<%=contextPath%>/img/zhuomian/major_change.gif" width="55" height="55" name="image7" alt="" border="0"></div></a>
          <div align="right">资料查阅 </div>
      </td>

      <%} %>
      
          
    <td><div align="center">
      <div align="center">
  </div></td>
  </tr>

</table>


</span>
</td></tr>	


<!-------------=========================================-------------->	
		</table>
		</td></tr></table>
	</td>
    <td background="<%=contextPath%>/img/skin/mail_rightbg.gif">&nbsp;</td>
  </tr>
  <tr>
    <td valign="bottom" background="<%=contextPath%>/img/skin/mail_leftbg.gif"><img src="<%=contextPath%>/img/skin/buttom_left2.gif" width="17" height="17" /></td>
    <td background="<%=contextPath%>/img/skin/buttom_bgs.gif"><img src="<%=contextPath%>/img/skin/buttom_bgs.gif" width="17" height="17"></td>
    <td valign="bottom" background="<%=contextPath%>/img/skin/mail_rightbg.gif"><img src="<%=contextPath%>/img/skin/buttom_right2.gif" width="16" height="17" /></td>
  </tr>
</table>
<%
}else{
 %>
 <h2>还没有新建案件</h2>
 <%} %>
	</body>
</html>
